package Exception;

import java.util.Scanner;

public class inputAge {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("输入age;");

        int age = sc.nextInt();
        if (age < 15 || age > 25) throw new OutOfBoundException();

    }
}
